//const login_view = resolve => require(['view/login.vue'], resolve) //组件异步懒加载写法

import { customer_service_route } from './customer_service_route'
import { shopping_mall_route } from './shopping_mall_route'
import { message_route } from './message_route'
import { shopping_cart_route } from './shopping_cart_route'
import { my_route } from './my_route'

// const home_view = resolve => require(['@/views/home.vue'], resolve) //组件异步懒加载写法

import home_view from '@/views/home.vue'

export const home_route = {
    name: "home",
    path: '/home',
    component: home_view,
    children: [ //子路由写法
        customer_service_route,
        shopping_mall_route,
        shopping_cart_route,
        message_route,
        my_route
    ]
}